package com.grf.es.transport;

import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.index.query.QueryBuilders;

import java.net.UnknownHostException;

/**
 * es 过滤
 */
public class Filter {

    /**
     * 过滤
     */
    public void filter() throws UnknownHostException {
        TransportClient client = Client.getClient();
        QueryBuilders.boolQuery()
                .filter();

    }

    public static void main(String[] args) {

    }

}
